package com.zhuiyun.project.api.onlineservice.service.impl;

import com.zhuiyun.project.api.onlineservice.entity.OnlineserviceChat;
import com.zhuiyun.project.api.onlineservice.mapper.OnlineserviceChatMapper;
import com.zhuiyun.project.api.onlineservice.service.OnlineserviceChatService;
import org.springframework.stereotype.Repository;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @ClassName OnlineserviceChatServiceImpl
 * @Description TODO
 * @Author ZSH
 * @Date 2024/3/13 16.08
 **/
@Service
public class OnlineserviceChatServiceImpl implements OnlineserviceChatService {

    @Resource
    private OnlineserviceChatMapper onlineserviceChatMapper;

    @Override
    public int addOnLine(OnlineserviceChat onChat) {
        return onlineserviceChatMapper.addOnLine(onChat);
    }

    @Override
    public List<OnlineserviceChat> selectList() {
        return onlineserviceChatMapper.selectList();
    }

    @Override
    public int del(Integer id) {
        return onlineserviceChatMapper.del(id);
    }


}
